package com.mineplatform.iservice;

import java.util.List;

import com.mineplatform.domain.M_Mine;
import com.mineplatform.exception.MineIdNullOrEmptyException;
import com.mineplatform.exception.MineNotExistException;
import com.mineplatform.exception.PermissionDeniedException;
import com.mineplatform.exception.TokenDisableException;
import com.mineplatform.exception.TokenNotExistException;
import com.mineplatform.exception.TokenNullOrEmptyException;
import com.mineplatform.exception.UserNotExistException;

public interface IM_MineService {

	List<M_Mine> find(String minecategoryid,String keywords, String provinceid,Integer top,Boolean hot,String userid);

	M_Mine find(String mineid) throws MineIdNullOrEmptyException, MineNotExistException;

	String save(M_Mine mine);

	void save(M_Mine mine, String token) throws TokenNullOrEmptyException, TokenNotExistException, TokenDisableException, UserNotExistException, PermissionDeniedException;

}
